package com.alb.gateway.register.center.api;

import com.alb.common.config.ServiceDefinition;
import com.alb.common.config.ServiceInstance;
import io.netty.util.concurrent.CompleteFuture;

import java.util.Set;

/**
 * 注册中心监听器
 * @author MattS
 * @date 2024/04/28
 */
public interface RegisterCenterListener {
    void onChange(ServiceDefinition serviceDefinition,
                  Set<ServiceInstance> serviceInstanceSet);
}
